package mt.client;

import mt.Order;

public class HistNod {
	
	/**
	 * The order that shows on history
	 */
	private Order order;
	
	/**
	 * An instance of the order, using timstamps's
	 */
	private java.sql.Timestamp time;
	
	/**
	 * The HistNod represents the order history. So the time of the order is the fundamental part of the class
	 * 
	 * @author group 55
	 */
	
	public HistNod (Order order, java.sql.Timestamp timestamp){
		this.order=order;
		this.time=timestamp;
	}
	
	
	/**
	 * procedure that represents the order and the basic information about it.
	 */

	public String toString(){
		return "Time -"+time.toString()+" Order -"+order.toString();
	}
}
